let userNightmodeDao = require("../dao/userNightmodeDao");

let checkIdAndPassword = function(id,password) {

}
module.exports = {
    updateUserNightMode: function (req, res) {
            let userid  = req.session.userid;
            let  status = req.body.status;
           userNightmodeDao.updateUserNightMode(userid,status).then(
               (results)=>{
                   console.log(results)
               }
           )

    }


}